package com.baofu.paycore.manager.storer;

import com.baofu.paycore.manager.model.RechargeBO;
import com.baofu.paycore.manager.model.RechargeFundBO;
import com.baofu.paycore.manager.model.withdraw.WithdrawFundBO;

/**
 * 充值订单
 *
 * <p/>
 *      1、查询主单信息
 * </p>
 * User: LZQ Date: 2016/04/20  Version: 1.0
 */
public interface RechargeOrderRepository extends OrderRepository<RechargeBO> {

    /**
     * 依支付单号加载订单数据
     *
     * @param payNo     支付单号
     * @return          RechargeBO
     */
    RechargeBO loadOrderByPayNo(String payNo);

    void addRetryOrder(RechargeFundBO rechargeFundBO,String operator);

    void updateRetry(RechargeBO rechargeBO);
}
